package com.genshang.restaurant.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Alex
 * @since 2020-09-26
 */
@TableName("ACCUMULATELISTTABLE")
public class Accumulatelisttable extends Model<Accumulatelisttable> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "RECORD_ID", type = IdType.AUTO)
    private Long recordId;

    @TableField("ACCUMULATE")
    private String accumulate;

    @TableField("CUSTOMERNAME")
    private String customername;

    @TableField("CREATETIME")
    private Long createtime;

    @TableField("POINTS")
    private Long points;

    @TableField("TYPE")
    private String type;

    @TableField("DETAIL")
    private String detail;

    @TableField("ACTION")
    private String action;

    @TableField("CUSTOMERID")
    private String customerid;

    @TableField("CURRENTPOINT")
    private Long currentpoint;

    @TableField("PHONE")
    private String phone;

    @TableField("CUSTOMERUID")
    private String customeruid;

    public Long getRecordId() {
        return recordId;
    }

    public void setRecordId(Long recordId) {
        this.recordId = recordId;
    }
    public String getAccumulate() {
        return accumulate;
    }

    public void setAccumulate(String accumulate) {
        this.accumulate = accumulate;
    }
    public String getCustomername() {
        return customername;
    }

    public void setCustomername(String customername) {
        this.customername = customername;
    }
    public Long getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Long createtime) {
        this.createtime = createtime;
    }
    public Long getPoints() {
        return points;
    }

    public void setPoints(Long points) {
        this.points = points;
    }
    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }
    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }
    public String getCustomerid() {
        return customerid;
    }

    public void setCustomerid(String customerid) {
        this.customerid = customerid;
    }
    public Long getCurrentpoint() {
        return currentpoint;
    }

    public void setCurrentpoint(Long currentpoint) {
        this.currentpoint = currentpoint;
    }
    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
    public String getCustomeruid() {
        return customeruid;
    }

    public void setCustomeruid(String customeruid) {
        this.customeruid = customeruid;
    }

    @Override
    protected Serializable pkVal() {
        return this.recordId;
    }

    @Override
    public String toString() {
        return "Accumulatelisttable{" +
            "recordId=" + recordId +
            ", accumulate=" + accumulate +
            ", customername=" + customername +
            ", createtime=" + createtime +
            ", points=" + points +
            ", type=" + type +
            ", detail=" + detail +
            ", action=" + action +
            ", customerid=" + customerid +
            ", currentpoint=" + currentpoint +
            ", phone=" + phone +
            ", customeruid=" + customeruid +
        "}";
    }
}
